﻿using iWare.Wms.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace iWare.Wms.Application
{
    /// <summary>
    /// 物料托盘组盘输入参数
    /// </summary>
    public class WmsMaterialContainerDto
    {
        /// <summary>
        /// 托盘ID  外键表
        /// </summary>
        public long Containerid { get; set; }

        /// <summary>
        /// 托盘编码
        /// </summary>
        public string Containercode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string Materialname { get; set; }

        /// <summary>
        /// 物料编号
        /// </summary>
        public string Materialno { get; set; }

        /// <summary>
        /// 物料规格
        /// </summary>
        public string Materialspec { get; set; }

        /// <summary>
        /// 物料ID 
        /// </summary>
        public long? Materialid { get; set; }

        /// <summary>
        /// 组盘数量
        /// </summary>
        public decimal Bindquantity { get; set; }

    }
    /// <summary>
    /// 组盘物料信息
    /// </summary>
    public class WmsMaterialContainerOutput
    {
        /// <summary>
        /// 托盘ID
        /// </summary>
        public long Containerid { get; set; }

        /// <summary>
        /// 托盘编码
        /// </summary>
        public string Containercode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string Materialname { get; set; }

        /// <summary>
        /// 物料编号
        /// </summary>
        public string Materialno { get; set; }

        /// <summary>
        /// 物料批次
        /// </summary>
        public string Materialbatch { get; set; }

        /// <summary>
        /// 物料规格
        /// </summary>
        public string Materialspec { get; set; }

        /// <summary>
        /// 物料ID
        /// </summary>
        public long Materialid { get; set; }

        /// <summary>
        /// 组盘数量
        /// </summary>
        public decimal Bindquantity { get; set; }

        /// <summary>
        /// 组盘状态;数据字典
        /// </summary>
        public CommonStatus Bindstatus { get; set; }

        /// <summary>
        /// 抽检数量
        /// </summary>
        public decimal Sampleqty { get; set; }

        /// <summary>
        /// 单号
        /// </summary>
        public string Orderno { get; set; }


    }
}
